@keyframes b{
  0%{top: 50%}
  50%{top: 0%}
  90%{top: 50%}
}

@keyframes appear{
  0%{top: 110%}
  100%{top: 50%}
}

body{
  width: 100%;
  height: 100%;
  position: fixed;
}

img{
  filter: drop-shadow(4px 4px 5px)
}

html{
  background: linear-gradient(to top,rgb(29, 29, 29) 80%, rgb(5, 5, 5));
  background-attachment: fixed;
  background-repeat: no-repeat;
}
#settings{
  width: 100%;
  height: 10%;
  background: linear-gradient(to bottom,rgb(44, 44, 44) 80%, rgb(36, 36, 36),transparent);
  position: fixed;
  top: 0%;
  left: 0%;
  z-index: 3;
}

#uploadanotherimg,#openimgadd{
  position: absolute;
  width: 2%;
  height: 40%;
  top: 30%;
  left: 95%;
  
}
#openimgadd{
  opacity: 0;
}
#uploadanotherimg{
  background-color: rgb(20, 20, 20);
  color: white;
}
.icontxt{
  position: absolute;
  top: -140%;
  font-size: 50px;
}
label{
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
}
label p{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-15%);
  font-size: 500%;
  text-align: center; 
  
}
input{
  background-color: rgb(20, 20, 20);
  border-radius: 5%;
  outline: none;
  caret-color: transparent;
  color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  border: 1px solid transparent;
  text-align: center;
  height: 30%;
  font-size: large;
}
p{
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
#SDVEGA, #SDT, #hide{
  position: absolute;
  top: 30%;
  left: 80%;
  width: 10%;
  height: 50%;
  background-color: transparent;
  transform: translate(-50%,-50%);
  font-weight: bolder;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-align: center;
  cursor: pointer;
  color: white;
}
#piececont{
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 2;
}
#SDT{
  top: 54%;
}

#hide{
  left: 0%;
  height: 20%;
  top: 100%;
  background-color: transparent;
  border-radius: 5%;
  width: 100%;
}
#sourceimg{
  position: fixed;
  left: 50%; 
  top: 50%; 
  transform: translate(-50%,-50%);
  visibility: visible;
  opacity: 0.25;
  z-index: 1;
}
#source{
  opacity: 0;
}
#inprange{
  position: absolute;
  left: 50%;
  top: 77%;
  color: grey;
  width: 50%;
  transform: translate(-50%,-50%);
}
#prompt{
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%,-50%);
}
#sourceimg{
  visibility: hidden;
}
#banner{
  position: fixed;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 40%;
  background-color: #202020;
  visibility: hidden;
  transform: translate(-50%,-50%);
  z-index: 100;
}
#bannermessage{
  position: absolute;
  width: 90%;
  height: 50%;
  top: 5%;
  left: 5%;
  font-weight: bolder;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-align: center;
  color: white;
}
#closebanner{
  font-weight: bolder;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-align: center;
  cursor: pointer;
  color: white;
  position: absolute;
  width: 30%;
  height: 20%;
  top: 80%;
  left: 50%;
  background-color: grey;
  transform: translate(-50%,-80%);
  cursor: pointer;
}
#animation{
  position: fixed;
  top: 110%;
  left: 50%;
  width: 60%;
  height: 50%;
  transform: translate(-50%,-50%);
  z-index: 100;
}
.b{
  position: absolute;
  top: 50%;
  width: 25%;
  height: 25%;
  background-color: #202020;
  clip-path: circle();
  transform: translate(0%,-50%);
  opacity: 0.4;
}
#b1{
  left: 0%;
  background-color: rgb(255, 70, 70);
}
#b2{
  left: 25%;
  background-color: rgb(70, 255, 70);
}
#b3{
  left: 50%;
  background-color: rgb(70, 70, 255);
}
#b4{
  left: 75%;
  background-color: rgb(255, 255, 70);
}

#piecesnumber{
  position: absolute;
  top: 77%;
  left: 80%;
  width: 10%;
  height: 30%;
  font-weight: bolder;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-align: center;
  cursor: pointer;
  color: white;
}




/*https://www.cssportal.com/style-input-range/*/
input[type=range] {
  height: 31px;
  -webkit-appearance: none;
  margin: 10px 0;
  width: 100%;
  background-color: transparent;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #453F42;
  background: #D4B0BE;
  border-radius: 48px;
  border: 0px solid #C7B9BE;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px #9C8E93;
  border: 0px solid #9C8E93;
  height: 25px;
  width: 10px;
  border-radius: 23px;
  background: #202020;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -12px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #D4B0BE;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #453F42;
  background: #D4B0BE;
  border-radius: 48px;
  border: 0px solid #C7B9BE;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 0px 0px 0px #9C8E93;
  border: 0px solid #9C8E93;
  height: 25px;
  width: 10px;
  border-radius: 23px;
  background: #202020;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #D4B0BE;
  border: 0px solid #C7B9BE;
  border-radius: 96px;
  box-shadow: 0px 0px 0px #453F42;
}
input[type=range]::-ms-fill-upper {
  background: #D4B0BE;
  border: 0px solid #C7B9BE;
  border-radius: 96px;
  box-shadow: 0px 0px 0px #453F42;
}
input[type=range]::-ms-thumb {
  margin-top: 1px;
  box-shadow: 0px 0px 0px #9C8E93;
  border: 0px solid #9C8E93;
  height: 25px;
  width: 10px;
  border-radius: 23px;
  background: #202020;
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: #D4B0BE;
}
input[type=range]:focus::-ms-fill-upper {
  background: #D4B0BE;
}
